package com.h.forum.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class MessageSendRequest {

    @NotNull(message = "接收者的Id不能为空")
    private Long receiverUserId;

    @NotBlank(message = "内容不能为空")
    private String content;
}
